package com.woniuxy.cloud52;

import com.woniuxy.cloud.ticket52.common.result.Result;
import com.woniuxy.cloud52.form.MovieCinemaForm;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value="cinema52",contextId = "moviecinema")
public interface MovieCinemaAPI {

    /**
     * 查询影院电影关联
     * @param form
     * @param
     * @return
     */
    @PostMapping("getmoviecinema")
    public Result getmoviecinema(@RequestBody MovieCinemaForm form);
}
